package codediff.parse.report;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.FieldType;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.util.List;

@Getter
@Setter
@Document(collection = "coverage_report")
public class CoverageReport {
    @Indexed
    private String repoPath;
    private String baseLabel;
    @Indexed
    private String currentLabel;
    @JsonProperty("package")
    private List<CoveragePackage> packages;
    @JsonProperty("counter")
    private List<Counter> counters;
}
